
<html>
	<head>
		<meta charset="utf-8" />
		<title>计算器（对象）</title>

		<link rel="stylesheet" type="text/css" href="../css/Calculator.css">
        <link href="../css/style.css" rel="stylesheet" type="text/css">
		<script src="../js/Calculator.js"></script>
	</head>

	<body>
        <div class="nav">
            <a class="nav-lsize" href="main.html">房贷计算器</a>
            <a class="nav-lsize" href="Calculator (function).html">计算器（函数）</a>
            <a class="nav-lsize" href="Calculator (object).html"  style="font-size: 18px; color: #000000;">计算器（对象）</a>
            <a class="nav-rsize" href="register.html">注册</a>
            <a class="nav-rsize" href="login.html">登录</a>
        </div>
		<div class="container-main">
			<div class="wrapper-main" style="height: 300px; width: 300px;">
				<h1 class="header_o" ">简易计算器</h1>
				<div class="d1">
					<form>
					<p>第一个数：<label><input type="text" id="n1" /></label></p>
                    <br>
					<p>第二个数：<label><input type="text" id="n2" /></label></p>
					<br />
					<p>
						<input type="button" value="     +     " onclick="Calc('+')" />
						<input type="button" value="     -     " onclick="Calc('-')"/>
						<input type="button" value="     *     " onclick="Calc('*')"/>
						<input type="button" value="     /     " onclick="Calc('/')"/>
					</p>
					<br />
					<p>计算结果：<input type="text" id="n3" /></p>
					<br />
					<p><input type="reset" style="width:80px;height:25px" value="重置"/>
						<input type="button"  style="width:80px;height:25px" value="关闭" onclick="window.close()"/>
					</p>
					</form>
				</div>
			</div>	
		</div>
	</body>

</html>